Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mark Schouten
ypconfig
Commits
f2444d6c
Commit
f2444d6c
authored
Mar 10, 2017
by
Mark Schouten
Browse files
Add this missing file
parent
999d9e45
Changes
3
Hide whitespace changes
Inline
Side-by-side
lib/ypconfig/__init__.py
0 → 100644
View file @
f2444d6c
playground/cur-to-config.py
View file @
f2444d6c
...
...
@@ -70,4 +70,4 @@ print(dump(ifaces,default_flow_style=False))
# ##print(iface.get_attr('IFLA_IFNAME'))
# #print(iface.get_attr('IFLA_OPERSTATE'))
# ##print(iface['index'])
#pprint(ip.get_addr(index=iface['index']))
\ No newline at end of file
#pprint(ip.get_addr(index=iface['index']))
playground/test.yml
View file @
f2444d6c
...
...
@@ -4,14 +4,10 @@ eth0:
-
fd00::192:168:1:4/64
adminstate
:
UP
mtu
:
1500
eth1
:
vlans
:
-
addresses
:
-
192.168.2.4/24
-
fd00::192:168:2:4/64
name
:
foobar
vlanid
:
200
mtu
:
9000
bond0
:
slaves
:
-
eth1
bond-mode
:
balance-xor
lo
:
addresses
:
-
127.0.0.1/8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment