Almost.
create should be:
* verify namespace-name is not already in use
* mkdir -p /var/run/netns/<namespace-name>
* unshare the netns
* mount --bind /proc/self/ns/net /var/run/netns/<namespace-name>
Are you talking about an replacing something that used to use the linux
vrf patches that are floating around?
Eric
--