Custom Search

Friday, March 6, 2015

OpenContrail How to Check the IF-MAP Server Population

1)
Find "ifmap_view.py" script.
#locate ifmap_view.py
/usr/local/lib/python2.7/dist-packages/schema_transformer/ifmap_view.py

2)
Run "ifmap_view.py" script by passing ifmap-server-ip, ifmap-server-port, ifmap-server-username and ifmap-server-password.

#cd /usr/local/lib/python2.7/dist-packages/schema_transformer/
OR
#cd /usr/lib/python2.7/dist-packages/schema_transformer/
 
#sudo python ifmap_view.py 192.168.56.102 8443 api-server api-server

MAP server connection  = 192.168.56.102:8443
MAP server credentials = api-server:api-server
Start node = None
Skip List = ['id-perms']
Verbose = 0

config-root = root
    domain = default-domain
    global-system-config = default-global-system-config
domain = default-domain
    namespace = default-namespace
    project = demo
        security-group = default
            access-control-list = ingress-access-control-list
            access-control-list = egress-access-control-list
    project = admin
        network-ipam = ipam444
        security-group = default
            access-control-list = ingress-access-control-list
            access-control-list = egress-access-control-list
        virtual-network = nw1
            access-control-list = nw1
                route-target = 8000001
            network-ipam = ipam444
            network-policy = default-network-policy
    project = default-project
        interface-route-table = default-interface-route-table
        network-ipam = default-network-ipam
        network-policy = default-network-policy
        route-table = default-route-table
        virtual-network = ip-fabric
            routing-instance = __default__
        virtual-network = default-virtual-network
            routing-instance = default-virtual-network
                route-target = 8000000
        virtual-network = __link_local__
            routing-instance = __link_local__
    service-template = analyzer-template
    service-template = docker-template
    service-template = nat-template
    service-template = netns-snat-template
    service-template = haproxy-loadbalancer-template
global-system-config = default-global-system-config
    global-vrouter-config = default-global-vrouter-config
    physical-router = default-physical-router
        logical-interface = default-logical-interface
        physical-interface = default-physical-interface
            logical-interface = default-logical-interface
    virtual-router = ubuntu
route-target = 8000001
route-target = 8000000


No comments:

Post a Comment