-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS-XE sync problem #345
Comments
Hello, Can you provide docker command that you have used? For me this command on my local switch works fine:
|
Also did you try to sync any other source than ios-xe? |
@bl4ko i just solve a problem - missing port: now i have other problem:
|
also can you add support for ignore ipv6 in ignoredSubnets ? |
IPv6 should work in a config, there is also a test for it that passes test and corresponding test config file. Could you maybe provide your whole config? |
Well this is an odd gorutine (parallel) problem that shouldn't happen. Are you syncing multiple proxmox sources? For the port, yeah I agree it should be 830 by default and I will fix it in the readme. |
it's 1 proxmox sources but in cluster mode, also it's possible to somehow map ex: vmbr0.51 to vlan51 (vid 51) ? netbox:
apiToken: "......."
hostname: "192.168.11.122"
httpScheme: http
port: 8000
timeout: 30
removeOrphans: false
sourcePriority: ["prodprox","switch"] # Not required, but recommended
source:
- name: prodprox
type: proxmox
username: root@pam
password: PASSWORD
hostname: 192.168.30.3
port: 8006
validateCert: false
interfaceFilter: (cali|vxlan|flannel|docker|[a-f0-9]{15}|vmbr|vtnet|lo|veth)
ignoredSubnets: ["127.0.0.0/8","fe80::/64","::1/128"]
clusterSiteRelations:
- .* = home`
- name: switch
type: ios-xe
hostname: 192.168.1.88
port: 830
username: username
password: password
validateCert: False
ignoredSubnets: ["127.0.0.0/8","fe80::/64","192.168.1.0/24"]
hostTenantRelations:
- .* = MyTenant
hostSiteRelations:
- .* = home
vlanTenantRelations:
- .* = MyTenant
collectArpData:
true |
This is currently not implemented, could you open separate feature request for this?
Are you running latest version, because I think this should work in latest? |
yes, i used lasted version 1.6.1, also maybe you can add which version is running ? |
Yeah, I will add a version that is running to the start of the logs... |
Hello, could you try again on v1.6.3 |
hi,
i try to sync cisco WS-C3850-12X48U with bellow conf:
`source:
type: ios-xe
hostname: 192.168.1.88
username: username
password: password
validateCert: False
hostTenantRelations:
hostSiteRelations:
vlanTenantRelations:
collectArpData:
true`
output:
2024/11/26 09:22:26 add_items.go:31 DEBUG (switch): Tag Source: switch already exists in Netbox and is up to date... 2024/11/26 09:22:26 add_items.go:31 DEBUG (switch): Tag ios-xe already exists in Netbox and is up to date... 2024/11/26 09:22:26 main.go:80 INFO (switch): Successfully created source ✓ 2024/11/26 09:22:26 main.go:81 DEBUG (switch): Source content: &{{%!s(*logger.Logger=&{0xc0006ad9e0 0}) SourceConfig{Name: switch, Type: ios-xe, HTTPScheme: https, Hostname: 192.168.1.88, Port: 443, Username: user, Password: password, PermittedSubnets: [], ValidateCert: false, Tag: Source: switch, TagColor: 0d294f, DatacenterClusterGroupRelations: [], HostSiteRelations: [.* = MySite], ClusterSiteRelations: [], clusterTenantRelations: [], HostTenantRelations: [.* = MyTenant], VmTenantRelations [], VlanGroupRelations: [], VlanTenantRelations: [.* = MyTenant], WlanTenantRelations: []} [Tag{Name: Source: switch} Tag{Name: ios-xe}] %!s(*x509.CertPool=<nil>) context.Background.WithValue(constants.CtxKey, main).WithValue(constants.CtxKey, switch) } {{ } } map[] [] <nil> map[] map[] map[] map[] map[]} 2024/11/26 09:22:26 main.go:92 INFO (switch): Initializing source 2024/11/26 09:22:26 main.go:95 **ERROR (switch): failed to open driver: read /dev/ptmx: input/output error** 2024/11/26 09:22:26 main.go:126 INFO (main): Skipping removing orphaned objects because run failed... 2024/11/26 09:22:26 main.go:136 INFO (main): ⚠ syncing of source switch failed
i use docker with ghcr.io/bl4ko/netbox-ssot image @bl4ko any idea ?
The text was updated successfully, but these errors were encountered: